//
//  InsuredDataModel.m
//  mywork
//
//  Created by li on 2018/5/11.
//  Copyright © 2018年 li. All rights reserved.
//

#import "InsuredDataModel.h"

@implementation InsuredOrderModel

@end

@implementation InsurerQuoteItem

@end

@implementation InsuredCompanyInfo

@end

@implementation InsuredDataModel

- (void)setValue:(id)value forKey:(NSString *)key{
    if ([key isEqualToString:@"insurerQuoteItems"] || [key isEqualToString:@"quoteOrder"] || [key isEqualToString:@"companyInfo"]) {
        value = [HSTool getDictionaryFromString:value];        
    }
    [super setValue:value forKey:key];
}

- (Class)getSubDataClassInArrayForKey:(NSString *)key{
    return [InsurerQuoteItem class];
}

@end
